Release 10.1A: OpenEdge Development:
Java Open Clients


Running an internal procedure or user-defined function on an OpenProcObject

Once you obtain your com.progress.open4gl.javaproxy.OpenProcObject instance, you can run any internal procedure or user-defined function defined in the object. However, if you are calling a user-defined function, you must identify the return type of the function before calling it. For more information, see the "Defining the return type for a user-defined function" section. For information on accessing the return value after calling the function, see the "Accessing user-defined function return values" section.

Run the internal procedure or user-defined function using the following method on the OpenProcObject:

Syntax
public void runProc (String procName, ParamArray paramArray) 
                   throws Open4GLException, RunTime4GLException, 
                   SystemErrorException 

procName

The name of an internal procedure or user-defined function provided by the OpenProcObject.

paramArray

Specifies a com.progress.open4gl.javaproxy.ParamArray that holds the parameters for the internal procedure or user-defined function. For more information, see the "Setting up a parameter array" section.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095